package com.isoft.sjhy.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.isoft.sjhy.model.Userinfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 2 * @Author: 郭邈
 * 3 * @Date: 2021/6/25 14:20
 * 4 * @ClassName:sjhy
 * 4 * @PACKAGE_NAME:com.isoft.sjhy.dao
 */
@Component("userinfoDao")
public interface UserinfoMapper extends BaseMapper<Userinfo> {
    List<Userinfo> queryUserinfoAll(Userinfo userinfo);

    Userinfo queryUserByNameAndPwd(Userinfo userinfo);

    void deleteUserByUsername(@Param("username2") String username);
}
